﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpShare.Afp.Protocol.Security {
    public interface IAfpUserAuthenticationMethod {
        string Name { get; }

        AfpUserAuthenticationResult Authenticate(IAfpSession session, string version, string path, string username, AfpStream authInfoStream);

        AfpUserAuthenticationResult ContinueAuthentication(IAfpSession session, short id, AfpStream authInfoStream);
    }
}
